package com.mark.web.sys.entity.from;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 更新角色表单
 * @Author: Mark
 * @CreateDate: 2019/1/13 18:57
 * @Version: 2.0
 * @Copyright : 豆浆油条个人非正式工作室
 */
public class RoleUpdateFrom {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "角色id")
    private Integer id;

    /**
     * 角色名
     */
    @ApiModelProperty(value = "角色名",required = true)
    @NotBlank
    private String name;

    /**
     * 权重
     */
    @ApiModelProperty(value = "权重")
    private Short priority;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述",required = true)
    private String description;
}
